/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.apt.bean;

import java.io.Serializable;

/**
 *
 * @author Lambach
 */
public class User implements Serializable{
    private int Account_Id;
    private String User_Password;
    private String User_Name;
    private String User_Email;
    private int Account_Status;
    private String Date_Registed;
    private String Date_Expired;
    private String Account_Rol;

    public User(int Account_Id, String User_Password, String User_Name, String User_Email, int Account_Status, String Date_Registed, String Date_Expired, String Account_Rol) {
        this.Account_Id = Account_Id;
        this.User_Password = User_Password;
        this.User_Name = User_Name;
        this.User_Email = User_Email;
        this.Account_Status = Account_Status;
        this.Date_Registed = Date_Registed;
        this.Date_Expired = Date_Expired;
        this.Account_Rol = Account_Rol;
    }

    

    /**
     * @return the Account_Id
     */
    public int getAccount_Id() {
        return Account_Id;
    }

    /**
     * @param Account_Id the Account_Id to set
     */
    public void setAccount_Id(int Account_Id) {
        this.Account_Id = Account_Id;
    }

    /**
     * @return the User_Password
     */
    public String getUser_Password() {
        return User_Password;
    }

    /**
     * @param User_Password the User_Password to set
     */
    public void setUser_Password(String User_Password) {
        this.User_Password = User_Password;
    }

    /**
     * @return the User_Name
     */
    public String getUser_Name() {
        return User_Name;
    }

    /**
     * @param User_Name the User_Name to set
     */
    public void setUser_Name(String User_Name) {
        this.User_Name = User_Name;
    }

    /**
     * @return the User_Email
     */
    public String getUser_Email() {
        return User_Email;
    }

    /**
     * @param User_Email the User_Email to set
     */
    public void setUser_Email(String User_Email) {
        this.User_Email = User_Email;
    }

    /**
     * @return the Account_Status
     */
    public int getAccount_Status() {
        return Account_Status;
    }

    /**
     * @param Account_Status the Account_Status to set
     */
    public void setAccount_Status(int Account_Status) {
        this.Account_Status = Account_Status;
    }

    /**
     * @return the Date_Registed
     */
    public String getDate_Registed() {
        return Date_Registed;
    }

    /**
     * @param Date_Registed the Date_Registed to set
     */
    public void setDate_Registed(String Date_Registed) {
        this.Date_Registed = Date_Registed;
    }

    /**
     * @return the Date_Expired
     */
    public String getDate_Expired() {
        return Date_Expired;
    }

    /**
     * @param Date_Expired the Date_Expired to set
     */
    public void setDate_Expired(String Date_Expired) {
        this.Date_Expired = Date_Expired;
    }

    /**
     * @return the Account_Rol
     */
    public String getAccount_Rol() {
        return Account_Rol;
    }

    /**
     * @param Account_Rol the Account_Rol to set
     */
    public void setAccount_Rol(String Account_Rol) {
        this.Account_Rol = Account_Rol;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final User other = (User) obj;
        if (this.Account_Id != other.Account_Id) {
            return false;
        }
        if ((this.User_Password == null) ? (other.User_Password != null) : !this.User_Password.equals(other.User_Password)) {
            return false;
        }
        if ((this.User_Name == null) ? (other.User_Name != null) : !this.User_Name.equals(other.User_Name)) {
            return false;
        }
        if ((this.User_Email == null) ? (other.User_Email != null) : !this.User_Email.equals(other.User_Email)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 29 * hash + this.Account_Id;
        hash = 29 * hash + (this.User_Password != null ? this.User_Password.hashCode() : 0);
        hash = 29 * hash + (this.User_Name != null ? this.User_Name.hashCode() : 0);
        hash = 29 * hash + (this.User_Email != null ? this.User_Email.hashCode() : 0);
        hash = 29 * hash + this.Account_Status;
        return hash;
    }

}
